/**
 *
 */
package wsepForum.test.domain;

import wsepForum.domain.ForumDomain;
import wsepForum.domain.SessionManager;
import wsepForum.network.server.SimpleServer;
import wsepForum.test.presistance.PersistentImplStub;


public class ForumDomainImplStub extends ForumDomain {

	public ForumDomainImplStub(String[] args) {
		super(args);
	}

	@Override
	public void init() {
		try {
			setPersistent(new PersistentImplStub());
			SessionManager.getInstance().setPersistent(this.getPersistent());
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

	/**
	 * @return the network server
	 */
	public SimpleServer getServer() {
		return this.server;
	}

}
